<?php
namespace app\modules\system\actions;

use app\lib\ActionBase;
use app\service\data as data;
use app\lib\Code;

class User extends ActionBase {
    
    private $_user_data;
    
    
    public function __construct() {
        $this->_user_data= new data\User();
    }
    
    public function rules() {
        return [
            
        ];
    }
    
    
    //后台-用户列表
    public function UserList($arrInput) {
        $arrInput['page'] = $arrInput['page'] ?? 1;
        $arrInput['page_size'] = $arrInput['page_size'] ?? 10;
        return $this->_user_data->UserList($arrInput);
    }
}